package com.demo.forum.services;

import com.demo.forum.model.Board;

import java.util.List;

public interface IBoradService {
    List<Board> selectByNum(Integer num);


    //更新板块帖子信息 : 帖子数+1;
    void addOneArticleCountById(Long id);
    //更新板块帖子信息 : 帖子数-1;
    void subOneArticleCountById(Long id);
    Board selectById(Long id);
}
